package com.todo.biz.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.Arrays;
import java.util.Map;
import java.util.stream.Collectors;

/**
 * @author azhebuxing
 * @date 2024/6/12 15:10
 * @description
 */
@Getter
@AllArgsConstructor
public enum ReviewLevelEnum {
    A(1, "A", "无问题内容"),
    B(2, "B", "存在关联词匹配且已过滤"),

    C(3, "C", "存在关联词匹配建议人工审核"),

    D(4, "D", "需人工确认"),

    E(5, "E", "涉及严重问题，需人工审核"),
    F(6, "F", "严重，建议核心观察"),

    ;

    private static Map<String, ReviewLevelEnum> enumMap = Arrays.stream(ReviewLevelEnum.values()).collect(Collectors.toMap(ReviewLevelEnum::getCode, e -> e));

    private Integer type;
    /**
     * 场景code
     */
    private String code;
    /**
     * 场景描述
     */
    private String desc;

}
